isBlank

fun isBlank(candidate: String?): Boolean

Null safe check for a String with nothing but whitespace characters.

Return

true if the candidate is null or all whitespace.

Parameters

candidate

the String to evaluate.